<?php
include 'page.php';
class PageNoHeader extends Page{

  function PageNoHeader(){
    $this->header = "";
    $this->footer = "";
    $this->content = "";
  }

  function setHeader($title){
    $headerStart = "";
    $headerStart.= <<<EOD
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
      <head>

      <meta http-equiv="Content-Language" content="en-gb" />
      <title>$title</title>

      <script type="text/javascript" src="utils.js"> </script>
      <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
EOD;
    
    $headerStart.="<link rel='stylesheet' type='text/css' href='style.css' />\n";
    $headerEnd = "";
    $headerEnd.= <<<EOD
      </head>
      <body>
      <div id="header">
      <h1>Kaptcha </h1>
      </div>
      <div id="content">
      <div id="right">
EOD;
    //      $this->header.= $headerStart . $headerEnd; 
  }
}
?>
